package com.stylefeng.guns.common.persistence.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-02-07
 */
@TableName("lg_answer_mirror")
public class AnswerMirror extends Model<AnswerMirror> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private Integer userid;
    private String answerinfo;
    private Integer seasonid;
    private Integer divisionid;
    private Date createtime;
    private Boolean used;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getAnswerinfo() {
        return answerinfo;
    }

    public void setAnswerinfo(String answerinfo) {
        this.answerinfo = answerinfo;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getSeasonid() {
        return seasonid;
    }

    public void setSeasonid(Integer seasonid) {
        this.seasonid = seasonid;
    }

    public Boolean getUsed() {
        return used;
    }

    public void setUsed(Boolean used) {
        this.used = used;
    }

    public Integer getDivisionid() {
        return divisionid;
    }

    public void setDivisionid(Integer divisionid) {
        this.divisionid = divisionid;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "AnswerMirror{" +
        "id=" + id +
        ", userid=" + userid +
        ", answerinfo=" + answerinfo +
        ", createtime=" + createtime +
        "}";
    }
}
